/**
 * Copyright 2022, 2023 IBM Corp.
 *
 * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/


html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.container {
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.chat-container {
  z-index: 100;
  width: 40%;
  margin: 0 auto 20px auto;
  background-color: #f5f5f5;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  overflow-y: auto;
}

.message {
  background-color: #e3f2fd;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  animation: send-message 0.5s ease;
}

@keyframes send-message {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-input {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  margin-left: 30%;
}

.user-input input[type="text"] {
  height: 25px;
  flex-grow: 1;
  padding: 8px;
  border-radius: 3px;
  border: 1px solid #ccc;
  max-width: 350px;
}

.user-input button {
  background-color: #0362ff;
  color: #fff;
  text-align: center;
  width: 100px;
  border: none;
  padding: 8px 12px;
  border-radius: 3px;
  margin-left: 10px;
  cursor: pointer;
}

/* Add spinner CSS */
.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
  display: none; /* Hide initially */
}

.image-logo {
  position: absolute;
  top: 30%;
  left: 45%;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}